import { request, config } from 'utils'
import * as commonService from "utils/services";

const { api } = config;
const { financialSettlementBatch } = api;

export async function query(params = {}) {
  params.apiBaseUrl = `${financialSettlementBatch}`;
  return commonService.commonQuery(params);
}

export async function detail(id) {
  const url = `${financialSettlementBatch}/${id}/detail`;
  return request({ url: url, method: 'GET', data: {} })
}
